package com.zhl.dao_;

import com.zhl.entity.Link;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2018/10/12.
 */
public interface LinkMapper extends Mapper<Link> {

    //添加日记
    List<Link> linkList(@Param("pageNumber") int pageNumber, @Param("pageSize") int pageSize);

    int addLink(Link link);
    int totalCount();
    int updateLink(Link link);
    int deleteLink(int id);

}
